Multiplicative Group Of Integers Modulo n

Definition

The group Un=Zn denotes the multiplicative group of a ring of the ring Zn.

Precisely which elements are in Un can be categorised by the following theorem:

Theorem

Any non-zero element aZn has a multiplicative inverse if and only if gcd(a,n)=1.

Proof

This fact follows very naturally from the Bezout identity, specifically, consider that the equation

ax1(modp)

has a solution in x if and only if there exists an x,y solving the equivalent equation:

ax+py=1,

which occurs if and only gcd(a,p)1 which is equivalent to gcd(a,p)=1.

This fact then gives the basis for determining when Zn is a field, that is the finite field of integers modulo p.